package com.xrs.xrseducation.area.service.impl;

import com.xrs.xrseducation.area.entity.Area;
import com.xrs.xrseducation.area.mapper.AreaMapper;
import com.xrs.xrseducation.area.service.IAreaService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 地区码表 服务实现类
 * </p>
 *
 * @author jobob
 * @since 2020-09-18
 */
@Service
public class AreaServiceImpl extends ServiceImpl<AreaMapper, Area> implements IAreaService {

    @Autowired
    AreaMapper areaMapper;

    public Area demo(){
        return areaMapper.selectById("1");
    }

}
